define([
	'jquery',
	'jqueryUI',
	'underscore',
	'backbone',
	'views/HomeView',
	'app'
], function( $, jui, _, Backbone, HomeView ) {

	var App = Backbone.View.extend({

		initialize: function() {
		},

		render: function() {
		},

		getHomeView: function ( homeId ){
			if (!this.homeView) {
				this.homeView = new HomeView({ container: '#desktop' , homeId: homeId});
			}

			this.homeView.render();
		}
	});

	return new App();
});
